// 引入createApp用于创建应用
import { createApp } from 'vue'
// 引入App根组件
import App from './App.vue'

import router from './router'

import emitter from './utils/emitter'

import { createPinia } from 'pinia'
// 创建一个App根组件，将它挂载到页面app上
const app = createApp(App)

const pinia = createPinia()

app.use(pinia)

app.use(router)

app.mount('#app')
